package com.settlement.system.service;

import com.settlement.system.model.entity.common.TblAcsPermissonRole;
import com.settlement.system.reply.ObjectDataResponse;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.web.multipart.MultipartFile;


/**
 * 权限角色组表 服务类
 * @author he.xx
 * @since 2021-07-06
 */

public interface ITblAcsPermissonRoleService extends IBaseService {

    /**
     * 导入订单来源权限文件
     * @param file
     * @param request
     * @param permissonRoleId
     * @return
     */
    ObjectDataResponse importOrderSourceFile(MultipartFile file, HttpServletRequest request, String permissonRoleId);

    /**
     * 删除权限角色组
     * @param model
     * @return
     */
    boolean deletePermissionRole(TblAcsPermissonRole model);

    /**
     * 获取权限角色组
     * @param model
     * @return
     */
    TblAcsPermissonRole getPermissionRoleInfo(TblAcsPermissonRole model);

    /**
     * 更新操作
     * @param model
     * @return
     */
    boolean updateById(TblAcsPermissonRole model);
}

